{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "22e6731d",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "今天是最后一个休息日。\n"
     ]
    }
   ],
   "source": [
    "import time\n",
    "\n",
    "today = time.strftime(\"%A\")\n",
    "\n",
    "now = time.strftime(\"%H:%M\", time.localtime())\n",
    "\n",
    "if today == 'Monday':\n",
    "    if now == \"09:30:00\" < now < \"9:45:00\":\n",
    "        print(\"Hurry up!你还有15分钟准备上python课，请不要忘记。\")\n",
    "    else:\n",
    "        if now == \"09:45:01\" < now < \"12:00:00\":\n",
    "            print(\"现在是python课的时间\")\n",
    "        else:\n",
    "            print(\"You can teach yourself the techniques of python.\")\n",
    "    if now == \"14:15:00\" < now < \"14:30:00\":\n",
    "        print(\"Hurry up!你还有15分钟准备上美学原理课，请不要忘记。\")\n",
    "    else:\n",
    "        if now == \"14:30:01\" < now < \"15:50:00\":\n",
    "            print(\"现在是美学原理课的时间。\")\n",
    "        else:\n",
    "            print(\"You can teach yourself the techniques of beauty.\")\n",
    "\n",
    "if today == 'Tuesday':\n",
    "    if now == \"09:30:00\" < now < \"9:45:00\":\n",
    "        print(\"Hurry up!你还有15分钟准备上创业基础课，请不要忘记。\")\n",
    "    else:\n",
    "        if now == \"09:45:01\" < now < \"12:00:00\":\n",
    "            print(\"现在是创业基础课的时间\")\n",
    "        else:\n",
    "            print(\"You can teach yourself the techniques of economicy.\")\n",
    "    if now == \"14:15:00\" < now < \"14:30:00\":\n",
    "        print(\"Hurry up!你还有15分钟准备上美学原理课，请不要忘记。\")\n",
    "    else:\n",
    "        if now == \"14:30:01\" < now < \"15:50:00\":\n",
    "            print(\"现在是H5交互设计课的时间。\")\n",
    "        else:\n",
    "            print(\"You can teach yourself the techniques of H5.\")\n",
    "\n",
    "if today == 'Wednesday':\n",
    "    if now == \"09:30:00\" < now < \"9:45:00\":\n",
    "        print(\"Hurry up!你还有15分钟准备上毛概课，请不要忘记。\")\n",
    "    else:\n",
    "        if now == \"09:45:01\" < now < \"12:00:00\":\n",
    "            print(\"现在是毛概课的时间\")\n",
    "        else:\n",
    "            print(\"You can teach yourself the techniques of Maogai.\")\n",
    "\n",
    "if today == 'Thursday':\n",
    "    if now == \"10:20:00\" < now < \"10:35:00\":\n",
    "        print(\"Hurry up!你还有15分钟准备上毛概实践课，请不要忘记。\")\n",
    "    else:\n",
    "        if now == \"10:35:01\" < now < \"12:00:00\":\n",
    "            print(\"现在是毛概实践课的时间\")\n",
    "        else:\n",
    "            print(\"You can teach yourself the techniques of Maogai.\")\n",
    "    if now == \"14:15:00\" < now < \"14:30:00\":\n",
    "        print(\"Hurry up!你还有15分钟准备上广告文案写作课，请不要忘记。\")\n",
    "    else:\n",
    "        if now == \"14:30:01\" < now < \"15:50:00\":\n",
    "            print(\"现在是广告文案课的时间。\")\n",
    "        else:\n",
    "            print(\"You can teach yourself the techniques of Writing.\")\n",
    "\n",
    "if today == 'Friday':\n",
    "    if now == \"07:45:00\" < now < \"08:00:00\":\n",
    "        print(\"Hurry up!你还有15分钟准备上Ai课，请不要忘记。\")\n",
    "    else:\n",
    "        if now == \"08:00:01\" < now < \"09:30:00\":\n",
    "            print(\"现在是Ai课的时间\")\n",
    "        else:\n",
    "            print(\"You can teach yourself the techniques of Ai.\")\n",
    "    if now == \"10:20:00\" < now < \"10:35:00\":\n",
    "        print(\"Hurry up!你还有15分钟准备上英语课，请不要忘记。\")\n",
    "    else:\n",
    "        if now == \"10:35:01\" < now < \"12:00:00\":\n",
    "            print(\"现在是英语课的时间。\")\n",
    "        else:\n",
    "            print(\"You can teach yourself the techniques of English.\")\n",
    "\n",
    "if today == 'Saturday':\n",
    "    print(\"今日休息。\")\n",
    "else:\n",
    "    if today == 'Sunday':\n",
    "        print(\"今天是最后一个休息日。\")"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
